package cn.tedu.csmall.commons.exception;

import cn.tedu.csmall.commons.web.ServiceCode;
import lombok.Getter;

public class ServiceException extends RuntimeException{
    @Getter
    private ServiceCode serviceCode;


    public ServiceException(String message, ServiceCode serviceCode) {
        super(message);
        this.serviceCode = serviceCode;
    }

}
